package com.changgou.seckill.feign;

import com.changgou.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author wz
 * @company 公司
 * @create 2020-04-20 17:19
 */
@FeignClient(name = "seckill")
public interface SeckillOrderFeign {

    @RequestMapping("/seckillOrder/add")
    public Result add(@RequestParam("time") String time, @RequestParam("id") Long id);
}
